//
//  GRGoodDetailPageModel.h
//  YC_GRice
//
//  Created by luojinrong11 on 2018/8/31.
//  Copyright © 2018年 YeCai. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "GRStoreCommentModel.h"
@class GRGoodDetailMsgModel;
@class GRGoodCountModel;
@interface GRGoodDetailPageModel : NSObject
@property(nonatomic,copy)NSString * addr;
@property(nonatomic,strong)NSArray<GRStoreCommentModel *> * commentList;
@property(nonatomic,assign)NSInteger  commentNum;
@property(nonatomic,assign)NSInteger  commentRate;
@property(nonatomic,copy)NSString * content;
@property(nonatomic,strong)NSArray <GRGoodDetailMsgModel *>* detail;
@property(nonatomic,assign)CGFloat  discountPrice;
@property(nonatomic,copy)NSString * distance;
@property(nonatomic,assign)NSInteger id;
@property(nonatomic,copy)NSString * mainPhoto;
@property(nonatomic,copy)NSString * nickName;
@property(nonatomic,strong)NSArray * photoArray;
@property(nonatomic,assign)NSInteger pointGiveRate;
@property(nonatomic,assign)NSInteger saleNumber;
@property(nonatomic,assign)NSInteger score;
@property(nonatomic,copy)NSString * title;
@property(nonatomic,assign)CGFloat totalPrice;
@property(nonatomic,assign)NSInteger validDay;//有效天数
@property(nonatomic,strong)NSArray * applyStore;
@property(nonatomic,strong)NSArray * buyNotice;
@property(nonatomic,strong)NSArray <GRGoodCountModel *> *goodArr;
@property(nonatomic,assign,readonly)CGFloat ContentCellHeight;
@property(nonatomic,copy)NSString * appGoodsPage;
@property(nonatomic,copy)NSString * shareImage;
@property(nonatomic,copy)NSString * originalId;
@property(nonatomic,copy)NSString * shareUrl;
@property(nonatomic,assign)BOOL isFavorite;
@property(nonatomic,copy)NSString * intro;
@property(nonatomic,assign)BOOL status;
@property(nonatomic,assign)long long expiresIn;
@property(nonatomic,assign)NSInteger haggleId;

@end

@interface GRGoodDetailMsgModel :NSObject
@property(nonatomic,assign)NSInteger id;
@property(nonatomic,copy)NSString * title;
@property(nonatomic,copy)NSArray * items;
@end
@interface GRGoodCountModel :NSObject
@property(nonatomic,copy)NSString * title;
@property(nonatomic,assign)BOOL isTitle;
@end
